<?php
if ( !defined( "IN_UCHOME" ) ) exit( "Access Denied" );
$id = intval($_GET['id']);
$op = $_GET['op'];

require('class.show.php');
$show = new show;
$data = $show->get_data($id);
if(empty($data)) showmessage('你要查看的活动已经不存在了', 'action.php?ac=index', 2);
$album = $show->get_album($id, 0);
if($op == 'admin'){
	if($uid == ADMIN_UID || $uid == $data['uid']){

	}else{
		$op = '';
	}
}
realname_get();
include_once( template( "action/view/album" ) );
?>